package inject

import (
	"gitee.com/kordar/bucket/controller"
	"gitee.com/kordar/bucket/service"
	"github.com/kordar/gocrud"
	"go.uber.org/dig"
)

type ServiceResult struct {
	dig.Out
	service.BucketUploaderService
	service.BucketService
	ResourceService []gocrud.ResourceService `group:"resource-services,flatten"`
}

type ControllerResult struct {
	dig.Out
	*controller.BucketController
}
